home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Palettes
/
Object
/
ObjectView.m
< prev
next >
Wrap
Text File
|
1995-06-12
|
471b
|
35 lines
#import "ObjectView.h"
@implementation ObjectView
- initFrame:(NXRect *)frameRect
{
self = [super initFrame:frameRect];
return self;
}
- drawSelf: (const NXRect *)rects :(int)rectCount
{
float xscale,yscale;
NXRect framerect;
if(strcmp([NXApp appName] , "InterfaceBuilder") ==0){
[self getFrame:&framerect];
xscale = framerect.size.width/500.0;
yscale = framerect.size.height/300.0;
PSWTitle(xscale, yscale);
}
return self;
}
@end